TARGETS = code.exe code1.exe loop.exe
all : $(TARGETS)

code1.exe:code1.c
	gcc -o $@ $^

code.exe:code.c
	gcc -o $@ $^

loop.exe:loop.c
	gcc -o $@ $^

.PHONY :clean
clean:
	rm $(TARGETS) -fv